package cn.intotw.rdcj.web.controller;

import cn.intotw.rdcj.web.domain.dto.UserQueryDTO;
import cn.intotw.rdcj.web.domain.vo.UserQueryVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Chenxiang
 *
 * @generator: IntelliJ IDEA
 * @description:
 * @project: rdcj
 * @package: cn.intotw.rdcj.web.controller
 * @date: 2020年07月22日 10时29分
 */
@RestController
@RequestMapping("/web/user")
@Api(value = "/rdcj/web/user", tags = {"userInfo"}, description = "用户信息")
public class UserInfoController {
    @GetMapping("/getUserInfo")
    @ApiOperation(value = "Api-获取用户信息", notes = "Api-获取用户信息")
    public UserQueryVO getUserInfo(@Validated
                                   @ApiParam(name = "查询条件",
                                           value = "form表单格式",
                                           required = true) UserQueryDTO userQueryDTO) {
        return new UserQueryVO();
    }
}
